<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;

Route::get('/', 'index/Index/index');



Route::get('/admin','admin/index/index');
Route::post('/admin/index/logindo','admin/index/logindo');
Route::get('/main','admin/main/index');
Route::get('/admin/index/loginout','admin/index/logout');




/*
 * admin 控制器 路由
 */
Route::get('admin/admin/index','admin/admin/index');
Route::get('admin/admin/create','admin/admin/create');
Route::post('admin/admin/docreate','admin/admin/docreate');
Route::get('admin/admin/edit','admin/admin/edit');
Route::post('admin/admin/doedit','admin/admin/doedit');
Route::get('admin/admin/del','admin/admin/del');

/*
 * 
 * role 控制器 路由
 * 
 */

Route::get('role','admin/role/index');
Route::get('admin/role/index','admin/role/index');
Route::get('admin/role/create','admin/role/create');
Route::post('admin/role/docreate','admin/role/docreate');
Route::get('admin/role/edit','admin/role/edit');
Route::post('admin/role/doedit','admin/role/doedit');
Route::get('admin/role/del','admin/role/del');

/*
 * priv 控制器路由
 * 
 */
Route::get('priv','admin/priv/index');
Route::get('admin/priv/index','admin/priv/index');
Route::get('admin/priv/create','admin/priv/create');
Route::post('admin/priv/docreate','admin/priv/docreate');
Route::get('admin/priv/edit','admin/priv/edit');
Route::post('admin/priv/doedit','admin/priv/doedit');
Route::get('admin/priv/del','admin/priv/del');




return [

];
